<ion-grid>
    <ion-row >
      <ion-col size="2" *ngIf="message.fromId!=activeUserId">
        <ion-avatar>
          <img src="./assets/avatar.jpg">
        </ion-avatar>
      </ion-col>
      <ion-col size="8">
        <ion-card [class]="message.fromId==activeUserId?'message right':'message left'">
          <ion-card-content [innerHTML]="message.content"></ion-card-content>
        </ion-card>
      </ion-col>
      <ion-col size="2" *ngIf="message.fromId==activeUserId">
        <ion-avatar>
          <img src="./assets/avatar.jpg">
        </ion-avatar>
      </ion-col>
    </ion-row>
  </ion-grid>
  